#ifndef SPLIT_BY_CHAR_H
#define SPLIT_BY_CHAR_H

#include <vector>
#include <string>

//using namespace std;

/**
 * 输入：(std::std::string str, char c)
 * 输出：vector<string>
 * 目的：用指定字符做分隔符，拆分字符串，输出字符数组
 */
void split_by_char(const std::string& source, std::vector<std::string>& target, char c);

#endif
